package com.ichir.projects.uiframework.tests.mocks;

import java.util.Map;

import com.ichir.projects.uiflow.ApplicationContext;
import com.ichir.projects.uiflow.events.UiEvent;
import com.ichir.projects.uiflow.ui.api.IUiAction;


public class Action1 implements IUiAction {

	@Override
	public UiEvent execute(ApplicationContext context, Map<String, Object> attibutes) {
		System.out.println(">> [BEGIN] execute action 1 ...");
		try {
			Thread.sleep(3000);
		} catch (Exception e) {
		}
		System.out.println(">> [END] execute action 1 ...");
		return new UiEvent("vie2");
	}
}
